<?php
// Base
$_['ft']                   = false;

// Site
$_['site_url']             = '';
$_['site_ssl']             = false;

// Url
$_['url_autostart']        = true;

// Language
$_['language_directory']   = 'en-gb';
$_['language_autoload']    = array('en-gb');

// Date
$_['date_timezone']        = 'UTC';

// Database
$_['db_engine']            = 'mysqli'; // mpdo, mssql, mysql, mysqli or postgre
$_['db_hostname']          = 'localhost';
$_['db_username']          = 'root';
$_['db_password']          = '';
$_['db_database']          = '';
$_['db_port']              = 3306;
$_['db_autostart']         = false;

// Mail
$_['mail_engine']          = 'mail'; // mail or smtp
$_['mail_from']            = ''; // Your E-Mail
$_['mail_sender']          = ''; // Your name or company name
$_['mail_reply_to']        = ''; // Reply to E-Mail
$_['mail_smtp_hostname']   = '';
$_['mail_smtp_username']   = '';
$_['mail_smtp_password']   = '';
$_['mail_smtp_port']       = 25;
$_['mail_smtp_timeout']    = 5;
$_['mail_verp']            = false;
$_['mail_parameter']       = '';

// Cache
$_['cache_engine']         = 'file'; // apc, file, mem or memcached
$_['cache_expire']         = 3600;

$_['translater_engine'] = 'google';

// Session
$_['session_engine']       = 'db';
$_['session_autostart']    = true;
$_['session_name']         = 'OCSESSID';

// Template
$_['template_engine']      = 'twig';
$_['template_directory']   = '';
$_['template_cache']       = false;

// Error
$_['error_display']        = true;
$_['error_log']            = true;
$_['error_filename']       = 'error.log';

// Reponse
$_['response_header']      = array('Content-Type: text/html; charset=utf-8');
$_['response_compression'] = 0;

// Autoload Configs
$_['config_autoload']      = array();

// Autoload Libraries
$_['library_autoload']     = array();

// Autoload Libraries
$_['model_autoload']       = array();

// Actions
$_['action_default']       = 'common/home';
$_['action_router']        = 'startup/router';
$_['action_error']         = 'error/not_found';
$_['action_pre_action']    = array();
$_['action_event']         = array();
$_['action_cron']          = array();
$_['support_langs'] = json_decode('{"zh":{"short":"zh","chinese":"中文","english":"Chinese"},"en":{"short":"en","chinese":"英语","english":"English"},"ru":{"short":"ru","chinese":"俄语","english":"Russian"},"fr":{"short":"fr","chinese":"法语","english":"French"},"de":{"short":"de","chinese":"德语","english":"German"},"es":{"short":"es","chinese":"西班牙语","english":"Spanish"},"ja":{"short":"ja","chinese":"日语","english":"Japanese"},"ko":{"short":"ko","chinese":"韩语","english":"Korean"},"vi":{"short":"vi","chinese":"越南语","english":"Vietnamese"},"it":{"short":"it","chinese":"意大利语","english":"Italian"},"ar":{"short":"ar","chinese":"阿拉伯语","english":"Arabic"},"th":{"short":"th","chinese":"泰语","english":"Thai"},"tr":{"short":"tr","chinese":"土耳其语","english":"Turkish"},"pt":{"short":"pt","chinese":"葡萄牙语","english":"Portuguese"},"nl":{"short":"nl","chinese":"荷兰语","english":"Dutch"},"sq":{"short":"sq","chinese":"阿尔巴尼亚语","english":"Albanian"},"am":{"short":"am","chinese":"阿姆哈拉语","english":"Amharic"},"as":{"short":"as","chinese":"阿萨姆语","english":"Assamese"},"az":{"short":"az","chinese":"阿塞拜疆语","english":"Azerbaijani"},"ee":{"short":"ee","chinese":"埃维语","english":"Ewe"},"ay":{"short":"ay","chinese":"艾马拉语","english":"Aymara"},"ga":{"short":"ga","chinese":"爱尔兰语","english":"Irish"},"et":{"short":"et","chinese":"爱沙尼亚语","english":"Estonian"},"or":{"short":"or","chinese":"奥利亚语","english":"Odia (Oriya)"},"om":{"short":"om","chinese":"奥罗莫语","english":"Oromo"},"eu":{"short":"eu","chinese":"巴斯克语","english":"Basque"},"be":{"short":"be","chinese":"白俄罗斯语","english":"Belarusian"},"bm":{"short":"bm","chinese":"班巴拉语","english":"Bambara"},"bg":{"short":"bg","chinese":"保加利亚语","english":"Bulgarian"},"is":{"short":"is","chinese":"冰岛语","english":"Icelandic"},"pl":{"short":"pl","chinese":"波兰语","english":"Polish"},"bs":{"short":"bs","chinese":"波斯尼亚语","english":"Bosnian"},"fa":{"short":"fa","chinese":"波斯语","english":"Persian"},"bho":{"short":"bho","chinese":"博杰普尔语","english":"Bhojpuri"},"af":{"short":"af","chinese":"布尔语(南非荷兰语)","english":"Afrikaans"},"tt":{"short":"tt","chinese":"鞑靼语","english":"Tatar"},"da":{"short":"da","chinese":"丹麦语","english":"Danish"},"dv":{"short":"dv","chinese":"迪维希语","english":"Dhivehi"},"ti":{"short":"ti","chinese":"蒂格尼亚语","english":"Tigrinya"},"doi":{"short":"doi","chinese":"多格里语","english":"Dogri"},"sa":{"short":"sa","chinese":"梵语","english":"Sanskrit"},"tl":{"short":"tl","chinese":"菲律宾语","english":"Filipino"},"fi":{"short":"fi","chinese":"芬兰语","english":"Finnish"},"fy":{"short":"fy","chinese":"弗里西语","english":"Frisian"},"km":{"short":"km","chinese":"高棉语","english":"Khmer"},"ka":{"short":"ka","chinese":"格鲁吉亚语","english":"Georgian"},"gom":{"short":"gom","chinese":"贡根语","english":"Konkani"},"gu":{"short":"gu","chinese":"古吉拉特语","english":"Gujarati"},"gn":{"short":"gn","chinese":"瓜拉尼语","english":"Guarani"},"kk":{"short":"kk","chinese":"哈萨克语","english":"Kazakh"},"ht":{"short":"ht","chinese":"海地克里奥尔语","english":"Haitian Creole"},"ha":{"short":"ha","chinese":"豪萨语","english":"Hausa"},"ky":{"short":"ky","chinese":"吉尔吉斯语","english":"Kyrgyz"},"gl":{"short":"gl","chinese":"加利西亚语","english":"Galician"},"ca":{"short":"ca","chinese":"加泰罗尼亚语","english":"Catalan"},"cs":{"short":"cs","chinese":"捷克语","english":"Czech"},"kn":{"short":"kn","chinese":"卡纳达语","english":"Kannada"},"co":{"short":"co","chinese":"科西嘉语","english":"Corsican"},"kri":{"short":"kri","chinese":"克里奥尔语","english":"Krio"},"hr":{"short":"hr","chinese":"克罗地亚语","english":"Croatian"},"qu":{"short":"qu","chinese":"克丘亚语","english":"Quechua"},"ku":{"short":"ku","chinese":"库尔德语","english":"Kurdish (Kurmanji)"},"ckb":{"short":"ckb","chinese":"库尔德语（索拉尼）","english":"Kurdish (Sorani)"},"la":{"short":"la","chinese":"拉丁语","english":"Latin"},"lv":{"short":"lv","chinese":"拉脱维亚语","english":"Latvian"},"lo":{"short":"lo","chinese":"老挝语","english":"Lao"},"lt":{"short":"lt","chinese":"立陶宛语","english":"Lithuanian"},"ln":{"short":"ln","chinese":"林格拉语","english":"Lingala"},"lg":{"short":"lg","chinese":"卢干达语","english":"Luganda"},"lb":{"short":"lb","chinese":"卢森堡语","english":"Luxembourgish"},"rw":{"short":"rw","chinese":"卢旺达语","english":"Kinyarwanda"},"ro":{"short":"ro","chinese":"罗马尼亚语","english":"Romanian"},"mg":{"short":"mg","chinese":"马尔加什语","english":"Malagasy"},"mt":{"short":"mt","chinese":"马耳他语","english":"Maltese"},"mr":{"short":"mr","chinese":"马拉地语","english":"Marathi"},"ml":{"short":"ml","chinese":"马拉雅拉姆语","english":"Malayalam"},"ms":{"short":"ms","chinese":"马来语","english":"Malay"},"mk":{"short":"mk","chinese":"马其顿语","english":"Macedonian"},"mai":{"short":"mai","chinese":"迈蒂利语","english":"Maithili"},"mi":{"short":"mi","chinese":"毛利语","english":"Maori"},"mni-mtei":{"short":"mni-mtei","chinese":"梅泰语（曼尼普尔语）","english":"Meiteilon (Manipuri)"},"mn":{"short":"mn","chinese":"蒙古语","english":"Mongolian"},"bn":{"short":"bn","chinese":"孟加拉语","english":"Bengali"},"lus":{"short":"lus","chinese":"米佐语","english":"Mizo"},"my":{"short":"my","chinese":"缅甸语","english":"Myanmar (Burmese)"},"hmn":{"short":"hmn","chinese":"苗语","english":"Hmong"},"xh":{"short":"xh","chinese":"南非科萨语","english":"Xhosa"},"zu":{"short":"zu","chinese":"南非祖鲁语","english":"Zulu"},"ne":{"short":"ne","chinese":"尼泊尔语","english":"Nepali"},"no":{"short":"no","chinese":"挪威语","english":"Norwegian"},"pa":{"short":"pa","chinese":"旁遮普语","english":"Punjabi"},"ps":{"short":"ps","chinese":"普什图语","english":"Pashto"},"ny":{"short":"ny","chinese":"齐切瓦语","english":"Chichewa"},"ak":{"short":"ak","chinese":"契维语","english":"Twi"},"sv":{"short":"sv","chinese":"瑞典语","english":"Swedish"},"sm":{"short":"sm","chinese":"萨摩亚语","english":"Samoan"},"sr":{"short":"sr","chinese":"塞尔维亚语","english":"Serbian"},"nso":{"short":"nso","chinese":"塞佩蒂语","english":"Sepedi"},"st":{"short":"st","chinese":"塞索托语","english":"Sesotho"},"si":{"short":"si","chinese":"僧伽罗语","english":"Sinhala"},"eo":{"short":"eo","chinese":"世界语","english":"Esperanto"},"sk":{"short":"sk","chinese":"斯洛伐克语","english":"Slovak"},"sl":{"short":"sl","chinese":"斯洛文尼亚语","english":"Slovenian"},"sw":{"short":"sw","chinese":"斯瓦希里语","english":"Swahili"},"gd":{"short":"gd","chinese":"苏格兰盖尔语","english":"Scots Gaelic"},"ceb":{"short":"ceb","chinese":"宿务语","english":"Cebuano"},"so":{"short":"so","chinese":"索马里语","english":"Somali"},"tg":{"short":"tg","chinese":"塔吉克语","english":"Tajik"},"te":{"short":"te","chinese":"泰卢固语","english":"Telugu"},"ta":{"short":"ta","chinese":"泰米尔语","english":"Tamil"},"tk":{"short":"tk","chinese":"土库曼语","english":"Turkmen"},"cy":{"short":"cy","chinese":"威尔士语","english":"Welsh"},"ug":{"short":"ug","chinese":"维吾尔语","english":"Uyghur"},"ur":{"short":"ur","chinese":"乌尔都语","english":"Urdu"},"uk":{"short":"uk","chinese":"乌克兰语","english":"Ukrainian"},"uz":{"short":"uz","chinese":"乌兹别克语","english":"Uzbek"},"iw":{"short":"iw","chinese":"希伯来语","english":"Hebrew"},"el":{"short":"el","chinese":"希腊语","english":"Greek"},"haw":{"short":"haw","chinese":"夏威夷语","english":"Hawaiian"},"sd":{"short":"sd","chinese":"信德语","english":"Sindhi"},"hu":{"short":"hu","chinese":"匈牙利语","english":"Hungarian"},"sn":{"short":"sn","chinese":"修纳语","english":"Shona"},"hy":{"short":"hy","chinese":"亚美尼亚语","english":"Armenian"},"ig":{"short":"ig","chinese":"伊博语","english":"Igbo"},"ilo":{"short":"ilo","chinese":"伊洛卡诺语","english":"Ilocano"},"yi":{"short":"yi","chinese":"意第绪语","english":"Yiddish"},"hi":{"short":"hi","chinese":"印地语","english":"Hindi"},"su":{"short":"su","chinese":"印尼巽他语","english":"Sundanese"},"id":{"short":"id","chinese":"印尼语","english":"Indonesian"},"jw":{"short":"jw","chinese":"印尼爪哇语","english":"Javanese"},"yo":{"short":"yo","chinese":"约鲁巴语","english":"Yoruba"},"zh-tw":{"short":"zh-tw","chinese":"中文（繁体）","english":"Chinese(Traditional)"},"ts":{"short":"ts","chinese":"聪加语","english":"Tsonga"}}',true);